package com.GroupSix.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class ExamPaperVo {
    //试卷id
    @TableId(type = IdType.AUTO)
    private Long id;

    //试卷类型
    private String paperType;

    //试卷名称
    private String paperName;

    //教师id
    private Integer teacherId;

    //规则id
    private Integer ruleId;

    //题号数组
    private Integer[] question;

    //考试开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    //考试结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer isActive;

    //当前页数
    private Integer curPage;

    //每页数据上限
    private Integer pageSize;
}
